package com.jiker;

import java.util.stream.Collectors;
import java.util.stream.IntStream;

/**
 * @author leo
 * @date 2021/5/31
 */
public class FizzBuzzRun {
    public static void main(String[] args) {
        new FizzBuzzRun().run();
    }

    private void run() {
        IntStream.rangeClosed(1, 100).boxed().map(FizzBuzz::of)
                .collect(Collectors.toList()).forEach(System.out::println);
    }
}
